package com.eloisa.geoask.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
public class presentation {
	private static final Logger logger = LoggerFactory.getLogger(presentation.class);

	/**
	 * Simply selects the home view to render by returning its name.
	 */
	@RequestMapping(value="geo.ask", method=RequestMethod.GET)
	public String home() {
		logger.info("Welcome home!");
		return "index";
	}
}
